{include file="header.html"}
<div class="row">
<div class="span12">
{include file='weixin/nav.html'}
 <table class='table table-bordered' width='100%'>
  <tr>
   <td>id</td>
   <td>logo</td>
   <td>微信token</td>
   <td>微信名</td>
   <td>状态</td>
   <td>添加时间</td>
   <td>接口地址</td>
<td>操作</td>
  </tr>
 {foreach item=c from=$data}
<tr>
   <td>{$c.id}</td>
   <td>{if $c.logo}<img src="{$c.logo|IMAGES_SITE}" style="width:50px; height:50px;" />{/if}</td>
   <td>{$c.token}</td>
   <td>{$c.title}</td>
   <td>{if $c.status eq 0}验证{else}运营{/if}</td>
   <td>{$c.dateline|date:Y-m-d}</td>
   <td><a href="/index.php?m=weixin_openapi&wid={$c.id}">http://{$smarty.server.HTTP_HOST}/index.php?m=weixin_openapi&wid={$c.id}</a></td>
<td><a href="{$appadmin}?m=weixin&a=add&id={$c.id}">编辑</a>
 
 <a href="{$appadmin}?m=weixin&a=left&id={$c.id}" target="menu-frame">进入管理</a> <a href="javascript:;" class="delete" url="{$appadmin}?m=weixin&a=delete&id={$c.id}">删除</a></td>
  </tr>
   {/foreach}
 </table>
<div>{$pagelist}</div>
</div>
</div>
{include file="footer.html"}